package structure.composite;

/**
 * @author dali
 * @date 2021-07-19 15:38
 * @Description
 */

public interface Component {
    String getName();
    default void add(Component o){ };
    default Component getChild(){
        return null;
    };
}
